package com.ruoyi.dev.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据集对象 dev_dataset
 * 
 * @author yepanpan
 * @date 2024-12-23
 */
@Data
public class DevDataset extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public static final String TYPE_LIST = "list";
    public static final String TYPE_COUNT = "count";
    public static final String TYPE_SUM = "sum";
    public static final String TYPE_PAGE = "page";


    /** 自增长主键ID */
    private Long id;

    /** 类别 */
    @Excel(name = "类别", dictType = "dev_ds_type")
    private String type;

    /** 数据集代码 */
    @Excel(name = "数据集代码")
    private String code;

    /** 数据集名称 */
    @Excel(name = "数据集名称")
    private String name;

    /** 查询表达式 */
    @Excel(name = "查询表达式")
    private String sqls;

    /** 状态 */
    @Excel(name = "状态", dictType = "common_status")
    private String status;

    /** 搜索标题 */
    @Excel(name = "搜索标题")
    private String searchTitle;

    /** 搜索字段 */
    @Excel(name = "搜索字段")
    private String searchField;

    /** 匹配方式 */
    @Excel(name = "匹配方式")
    private String searchExp;

    /** 搜索来源 */
    @Excel(name = "搜索来源")
    private String searchDs;

    /**
     * 请求参数
     */
    private String param;
}
